﻿using System;

namespace UtfprLibrary.Windows.Forms.ComponentModel {
    public delegate void StateChangedEventHandler(object sender, StateChangedEventArgs e);

    /// <summary>
    /// TODO
    /// </summary>
    public class StateChangedEventArgs : EventArgs {
        private UBNStateEnum _state;
        /// <summary>
        /// TODO
        /// </summary>
        public UBNStateEnum State {
            get { return _state; }
        }

        /// <summary>
        /// TODO
        /// </summary>
        /// <param name="state"></param>
        public StateChangedEventArgs(UBNStateEnum state) {
            this._state = state;
        }
    }
}
